using System;
using System.Collections.Generic;
using System.Text;
using SP.Parameter;

namespace SP.HwDeferredRS
{
    /// <summary>
    /// A fusion which flips the vertex-tangent according to the vertex color
    /// </summary>
    public class TangentFlippingFusion : AbstractFusion
    {
        public TangentFlippingFusion()
        {
        }

        public static string NAME = "TangentFlipping";
        public override string Name
        {
            get { return NAME; }
        }

        public override string Desc
        {
            get { return ""; }
        }

        public override Stage Stage
        {
            get { return Stage.Vertex0; }
        }

        public override int UVChannelCount
        {
            get { return 0; }
        }

        public override void Code(StringBuilder b, string platform)
        {
            //AddLine(b, "pipeline.T_Ms *= -1;");
        }
    }
}
